Skip to content

Conversation

neoatlan
Copy link
Contributor

Issue #, if available:
Fix build error on Apple clang version 12.0.0 (clang-1200.0.32.27)

src/backward.h:3265:57: error: 
      implicit conversion loses integer precision: 'size_t'
      (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32]
        _symbols.reset(backtrace_symbols(st.begin(), st.size()));

Description of changes:
Cast type explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@neoatlan neoatlan marked this pull request as ready for review December 12, 2020 17:29
@bmoffatt
Copy link
Collaborator

Thanks!

@bmoffatt bmoffatt merged commit 1f2ed6e into awslabs:master Nov 24, 2021
@neoatlan neoatlan deleted the fix-implicit-conversion branch November 25, 2021 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants